<?php

namespace common\validate;


class NoteRecord extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    // Fields 验证场景定义
    public function sceneFields()
    {
        return $this;
    }

    // getList 验证场景定义
    public function sceneGetList()
    {
        return $this->append('param', 'require')
            ->append('param.filter', 'array|require')
            ->append('param.page', 'array');
    }
}
